libostree: Reformat bootloader titles
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 30 Oct 2014 17:44:26 +0000 (13:44 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 4 Nov 2014 01:43:36 +0000 (20:43 -0500)
commite5b147c64386ed7835a66d0770c69e7ce9dc5225
tree6e409bacff56043630ee963001be555c14642095
parenta4d82ab6b424c42d3079b5b9855411d381ba8720
libostree: Reformat bootloader titles

Use the pattern:

  $PRETTY_NAME [$COMMIT_VERSION] (ostree[:$OSNAME][:$DEPLOYMENT_INDEX])

$OSNAME is only shown if there are multiple values.

$COMMIT_VERSION refers to the version tag in the commit's metadata.

$DEPLOYMENT_INDEX is only shown if no $COMMIT_VERSION is available.

https://bugzilla.gnome.org/show_bug.cgi?id=739416
src/libostree/ostree-sysroot-deploy.c
tests/admin-test.sh